<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.springframework.org/schema/mvc">
<head>
    <meta charset="UTF-8">
    <title>上传文件</title>
    <!--<script th:src="@{/static/js/test.js}"></script>-->
    <link  th:href="@{/css/main.css}" rel="stylesheet" type="text/css"/>
</head>
<body>

<div class="demo">
    <div class="bheader">
        <h2>--图片上传--</h2>
    </div>
    <div class="bbody">
        <form id="upload_form" enctype="multipart/form-data" method="post" action="/thumbnail/1">
            <h2>请选择上传图片</h2>
            <div>
                <input type="file" name="image" id="image" />
                <input type="submit" value="上传"/>
            </div>
        </form>

        <form id="upload_form2" enctype="multipart/form-data" method="post" action="/thumbnail/2">
            <h2>请选择上传图片</h2>
            <div>
                <input type="file" name="image" id="image2" />
                <input type="submit" value="上传"/>
            </div>
        </form>
    </div>
</div>

</body>
</html>